package com.study.model.pojo.PSIpojo;

import java.io.Serializable;
import javax.persistence.*;

import com.study.model.pojo.HRpojo.EmpTab;

import java.util.Date;


/**
 * The persistent class for the customer_tab database table.
 * 
 */
@Entity
@Table(name="customer_tab")
@NamedQuery(name="CustomerTab.findAll", query="SELECT c FROM CustomerTab c")
public class CustomerTab implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int cusid;

	private String cusadd;

	@Temporal(TemporalType.TIMESTAMP)
	private Date cusedopd;

	private String cusemail;

	private String cusname;

	private String cusremark;

	private int cusstate;

	private String custel;

	@Temporal(TemporalType.TIMESTAMP)
	private Date cuswrited;

	@ManyToOne
	@JoinColumn(name="empid")
	private EmpTab empTab;

	public CustomerTab() {
	}

	public int getCusid() {
		return this.cusid;
	}

	public void setCusid(int cusid) {
		this.cusid = cusid;
	}

	public String getCusadd() {
		return this.cusadd;
	}

	public void setCusadd(String cusadd) {
		this.cusadd = cusadd;
	}

	public Date getCusedopd() {
		return this.cusedopd;
	}

	public void setCusedopd(Date cusedopd) {
		this.cusedopd = cusedopd;
	}

	public String getCusemail() {
		return this.cusemail;
	}

	public void setCusemail(String cusemail) {
		this.cusemail = cusemail;
	}

	public String getCusname() {
		return this.cusname;
	}

	public void setCusname(String cusname) {
		this.cusname = cusname;
	}

	public String getCusremark() {
		return this.cusremark;
	}

	public void setCusremark(String cusremark) {
		this.cusremark = cusremark;
	}

	public int getCusstate() {
		return this.cusstate;
	}

	public void setCusstate(int cusstate) {
		this.cusstate = cusstate;
	}

	public String getCustel() {
		return this.custel;
	}

	public void setCustel(String custel) {
		this.custel = custel;
	}

	public Date getCuswrited() {
		return this.cuswrited;
	}

	public void setCuswrited(Date cuswrited) {
		this.cuswrited = cuswrited;
	}

	public EmpTab getEmpTab() {
		return empTab;
	}

	public void setEmpTab(EmpTab empTab) {
		this.empTab = empTab;
	}


}